/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 车辆表Entity
 * @author dhw
 * @version 2018-01-17
 */
public class Trucks extends DataEntity<Trucks> {
	
	private static final long serialVersionUID = 1L;
	private TruckOwner truckOwner;		// 车主姓名 父类
	private String number;		// 车牌号
	private String type;		// 车型
	private String length;		// 车长（M）
	private String weight;		// 载重(T)
	private String maxVolume;		// 最大载货体积(m³)
	private String transportationLineOne;		// 运输线路一
	private String transportationLineTwo;		// 运输线路二
	private String transportationLineThree;		// 运输线路三
	private Date purchaseTime;		// 车辆购买时间
	private String vehicleBrand;		// 车辆品牌
	private String vehicleModel;		// 车辆型号
	private String cooperationType;		// 合作类型
	private String driver;		// 驾驶员姓名
	private String phone;		// 驾驶员电话
	private String idCard;		// 驾驶员身份证
	private String threePartyInsurance;		// 三者险金额(元)
	private String cargoInsurance;		// 货物险金额(元)
	private String insuranceCompany;		// 承保公司
	private Date purchaseDate;		// 保险购买日期
	private Date expirationDate;		// 保险失效日期
	private String top;		// 是否顶置
	private Date topDate;		// 置顶到期日期
	private String idCardPhoto;		// 车主身份证照片
	private String driverLicensePhoto;		// 驾驶员驾驶证照片
	private String vehicleLicensePhotos;		// 车辆行驶证照片
	private String insuranceCardPhoto;		// 车辆保险卡照片
	private String vehicleFrontPhoto;		// 车辆正面牌照照片
	private String vehicleSidePhoto;		// 车辆侧面照片
	private String skimAmount;		// 浏览数
	private String sharingTimes;		// 分享次数
	private String revise;		// 修改
	private String isrepeat;		// 重复

	public String getIsrepeat() {
		return isrepeat;
	}

	public void setIsrepeat(String isrepeat) {
		this.isrepeat = isrepeat;
	}


	public Trucks() {
		super();
	}

	public Trucks(String id){
		super(id);
	}

	public Trucks(TruckOwner truckOwner){
		this.truckOwner = truckOwner;
	}

	public TruckOwner getTruckOwner() {
		return truckOwner;
	}

	public void setTruckOwner(TruckOwner truckOwner) {
		this.truckOwner = truckOwner;
	}
	
	@ExcelField(title="车牌号", align=2, sort=7)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="车型", dictType="truck_type", align=2, sort=8)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@ExcelField(title="车长（M）", align=2, sort=9)
	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}
	
	@ExcelField(title="载重(T)", align=2, sort=10)
	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}
	
	@ExcelField(title="最大载货体积(m³)", align=2, sort=11)
	public String getMaxVolume() {
		return maxVolume;
	}

	public void setMaxVolume(String maxVolume) {
		this.maxVolume = maxVolume;
	}
	
	@ExcelField(title="运输线路一", align=2, sort=12)
	public String getTransportationLineOne() {
		return transportationLineOne;
	}

	public void setTransportationLineOne(String transportationLineOne) {
		this.transportationLineOne = transportationLineOne;
	}
	
	@ExcelField(title="运输线路二", align=2, sort=13)
	public String getTransportationLineTwo() {
		return transportationLineTwo;
	}

	public void setTransportationLineTwo(String transportationLineTwo) {
		this.transportationLineTwo = transportationLineTwo;
	}
	
	@ExcelField(title="运输线路三", align=2, sort=14)
	public String getTransportationLineThree() {
		return transportationLineThree;
	}

	public void setTransportationLineThree(String transportationLineThree) {
		this.transportationLineThree = transportationLineThree;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="车辆购买时间", align=2, sort=15)
	public Date getPurchaseTime() {
		return purchaseTime;
	}

	public void setPurchaseTime(Date purchaseTime) {
		this.purchaseTime = purchaseTime;
	}
	
	@ExcelField(title="车辆品牌", align=2, sort=16)
	public String getVehicleBrand() {
		return vehicleBrand;
	}

	public void setVehicleBrand(String vehicleBrand) {
		this.vehicleBrand = vehicleBrand;
	}
	
	@ExcelField(title="车辆型号", align=2, sort=17)
	public String getVehicleModel() {
		return vehicleModel;
	}

	public void setVehicleModel(String vehicleModel) {
		this.vehicleModel = vehicleModel;
	}
	
	@ExcelField(title="合作类型", dictType="cooperation_type", align=2, sort=18)
	public String getCooperationType() {
		return cooperationType;
	}

	public void setCooperationType(String cooperationType) {
		this.cooperationType = cooperationType;
	}
	
	@ExcelField(title="驾驶员姓名", align=2, sort=19)
	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}
	
	@ExcelField(title="驾驶员电话", align=2, sort=20)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@ExcelField(title="驾驶员身份证", align=2, sort=21)
	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
	@ExcelField(title="三者险金额(元)", align=2, sort=22)
	public String getThreePartyInsurance() {
		return threePartyInsurance;
	}

	public void setThreePartyInsurance(String threePartyInsurance) {
		this.threePartyInsurance = threePartyInsurance;
	}
	
	@ExcelField(title="货物险金额(元)", align=2, sort=23)
	public String getCargoInsurance() {
		return cargoInsurance;
	}

	public void setCargoInsurance(String cargoInsurance) {
		this.cargoInsurance = cargoInsurance;
	}
	
	@ExcelField(title="承保公司", align=2, sort=24)
	public String getInsuranceCompany() {
		return insuranceCompany;
	}

	public void setInsuranceCompany(String insuranceCompany) {
		this.insuranceCompany = insuranceCompany;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="保险购买日期", align=2, sort=25)
	public Date getPurchaseDate() {
		return purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="保险失效日期", align=2, sort=26)
	public Date getExpirationDate() {
		return expirationDate;
	}

	public void setExpirationDate(Date expirationDate) {
		this.expirationDate = expirationDate;
	}
	
	@ExcelField(title="是否顶置", dictType="top", align=2, sort=27)
	public String getTop() {
		return top;
	}

	public void setTop(String top) {
		this.top = top;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="置顶到期日期", align=2, sort=28)
	public Date getTopDate() {
		return topDate;
	}

	public void setTopDate(Date topDate) {
		this.topDate = topDate;
	}
	
	@ExcelField(title="车主身份证照片", align=2, sort=29)
	public String getIdCardPhoto() {
		return idCardPhoto;
	}

	public void setIdCardPhoto(String idCardPhoto) {
		this.idCardPhoto = idCardPhoto;
	}
	
	@ExcelField(title="驾驶员驾驶证照片", align=2, sort=30)
	public String getDriverLicensePhoto() {
		return driverLicensePhoto;
	}

	public void setDriverLicensePhoto(String driverLicensePhoto) {
		this.driverLicensePhoto = driverLicensePhoto;
	}
	
	@ExcelField(title="车辆行驶证照片", align=2, sort=31)
	public String getVehicleLicensePhotos() {
		return vehicleLicensePhotos;
	}

	public void setVehicleLicensePhotos(String vehicleLicensePhotos) {
		this.vehicleLicensePhotos = vehicleLicensePhotos;
	}
	
	@ExcelField(title="车辆保险卡照片", align=2, sort=32)
	public String getInsuranceCardPhoto() {
		return insuranceCardPhoto;
	}

	public void setInsuranceCardPhoto(String insuranceCardPhoto) {
		this.insuranceCardPhoto = insuranceCardPhoto;
	}
	
	@ExcelField(title="车辆正面牌照照片", align=2, sort=33)
	public String getVehicleFrontPhoto() {
		return vehicleFrontPhoto;
	}

	public void setVehicleFrontPhoto(String vehicleFrontPhoto) {
		this.vehicleFrontPhoto = vehicleFrontPhoto;
	}
	
	@ExcelField(title="车辆侧面照片", align=2, sort=34)
	public String getVehicleSidePhoto() {
		return vehicleSidePhoto;
	}

	public void setVehicleSidePhoto(String vehicleSidePhoto) {
		this.vehicleSidePhoto = vehicleSidePhoto;
	}
	
	@ExcelField(title="浏览数", align=2, sort=35)
	public String getSkimAmount() {
		return skimAmount;
	}

	public void setSkimAmount(String skimAmount) {
		this.skimAmount = skimAmount;
	}
	
	@ExcelField(title="分享次数", align=2, sort=36)
	public String getSharingTimes() {
		return sharingTimes;
	}

	public void setSharingTimes(String sharingTimes) {
		this.sharingTimes = sharingTimes;
	}
	
	@ExcelField(title="修改", dictType="is_revise", align=2, sort=37)
	public String getRevise() {
		return revise;
	}

	public void setRevise(String revise) {
		this.revise = revise;
	}
	
}